package com.japhet.stripesdemo.conf;

import com.stripe.Stripe;
import com.stripe.net.RequestOptions;
import io.github.cdimascio.dotenv.Dotenv;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DotenvConf {
    @Bean("dotenv")
    public Dotenv dotenv() {
        return Dotenv.load();
    }
}
